﻿<?php
// HTTP
define('HTTP_SERVER', 'http://localhost/YX_Crm/api/');
define('HTTP_CATALOG', 'http://localhost/YX_Crm');
define("HTTP_WX_WEB","http://localhost/YX_Crm/www/index.html");
define('HTTP_IMAGE', 'http://localhost/YX_Crm/');

// HTTPS
define('HTTPS_SERVER', 'http://localhost/YX_Crm/api/');
define('HTTPS_CATALOG', 'http://localhost/YX_Crm');

$server_path = 'C:/phpEnv/www/YX_Crm';

// DIR
define('DIR_APPLICATION', $server_path . '/api/');
define('DIR_SYSTEM', $server_path . '/system/');
define('DIR_LANGUAGE', $server_path . '/catalog/language/');
define('DIR_TEMPLATE', $server_path . '/content/');
define('DIR_CONFIG', $server_path . '/system/config/');
define('DIR_IMAGE', $server_path . '/image/');
define('DIR_CACHE', $server_path . '/system/cache/');
define('DIR_DOWNLOAD', $server_path . '/system/download/');
define('DIR_UPLOAD', $server_path . '/system/upload/');
define('DIR_LOGS', $server_path . '/system/logs/');
define('DIR_MODIFICATION', $server_path . '/api/modification/');
define('DIR_CATALOG', $server_path . '/catalog/');

// DB
define('DB_DRIVER', 'mpdo');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '111111');
define('DB_DATABASE', 'yx');
define('DB_PREFIX', '');

// 微信

define('WX_AppID', 'wx19b5657da7a8db9e');
define('WX_AppSecret', '6781e10dae24fa6079f827a6b20780d7');


//404报错页面
define('Http_404', 'http://www.baidu.com');
define('Http_Register', 'http://localhost/YX_Crm/www/index.html#/register');

